<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:insert="~{common/header::head}"></th:block>
    <title>云沾衣诗词网-入云深处亦沾衣</title>
    <meta name="description" content="读几首诗，采几片云"/>
    <meta name="author" content="长亭残木"/>
    <meta name="keyword" content="诗词平台,传统文化">
    <link rel="stylesheet" type="text/css" th:href="@{/css/about.css}">
</head>
<body id="page-top">
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
    <div class="container px-4 px-lg-5">
        <a style="width: 120px" class="navbar-brand" href="/">
            <img class="img-fluid" th:src="@{/img/main_logo_black.png}"/></a>
        <button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse"
                data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false"
                aria-label="Toggle navigation">
            导航
            <i class="fas fa-bars"></i>
        </button>
        <div class="collapse navbar-collapse" id="navbarResponsive">
            <ul class="navbar-nav ms-auto">
                <li class="nav-item"><a class="nav-link" href="#about">关于</a></li>
                <li class="nav-item"><a class="nav-link" href="#projects">展示</a></li>
                <li class="nav-item"><a class="nav-link" href="#connect">联系我们</a></li>
            </ul>
        </div>
    </div>
</nav>
<header class="masthead">
    <div class="container px-4 px-lg-5 d-flex h-100 align-items-center justify-content-center">
        <div class="d-flex justify-content-center">
            <div class="text-center">
                <h1 class="mx-auto my-1 text-uppercase">纵使晴明无雨色</h1>
                <h1 class="mx-auto my-1 text-uppercase">入云深处亦沾衣</h1>
                <a style="margin-top: 44px;font-size: 19px" class="nav-link" href="#about">继续</a>
            </div>
        </div>
    </div>
</header>
<section class="about-section text-center" id="about">
    <div class="container px-4 px-lg-5">
        <div class="row gx-4 gx-lg-5 justify-content-center">
            <div class="col-lg-8">
                <h2 class="text-white mb-4">读几首诗 采几片云</h2>
                <p class="text-white">
                    云沾衣 出自唐代的书法家，诗人张旭《山中留客》一诗中的
                    <br>
                    “纵使晴明无雨色，入云深处亦沾衣。”
                </p>

                <div class="text-white-75">
                    即使天气晴朗没有阴雨迷蒙，去到山中云雾深处衣服也会沾湿。
                    <br>
                    何不缓下你那忙碌的脚步，留下来欣赏一下这里的美景呢？
                </div>
            </div>
        </div>
        <div style="height: 200px"></div>
    </div>
</section>
<!-- Projects-->
<section class="projects-section bg-light" id="projects">
    <div class="container px-4 px-lg-5">
        <!-- Featured Project Row-->
        <div class="row gx-0 mb-4 mb-lg-5 align-items-center">
            <div class="col-xl-4 col-lg-5">
                <div class="featured-text text-center text-lg-start">
                    <h4>年轻淡雅的风格</h4>
                </div>
            </div>

            <div class="col-xl-8 col-lg-7"><img class="img-fluid mb-3 mb-lg-0" th:src="@{/img/show0.jpg}"
                                                alt="..."/></div>
        </div>

        <div class="row gx-0 mb-4 mb-lg-5 align-items-center">
            <div class="col-xl-8 col-lg-7"><img class="img-fluid mb-3 mb-lg-0" th:src="@{/img/show1.jpg}"
                                                alt="..."/></div>
            <div class="col-xl-4 col-lg-5">
                <div class="featured-text text-center text-lg-left">
                    <h4>海量的诗词文库精确索引</h4>
                </div>
            </div>
        </div>
        <!-- Project One Row-->
        <div class="row gx-0 mb-5 mb-lg-0 justify-content-center">
            <div class="col-lg-6"><img class="img-fluid" th:src="@{/img/show2.jpg}" alt="..."/></div>
            <div class="col-lg-6">
                <div class="bg-black text-center h-100 project">
                    <div class="d-flex h-100">
                        <div class="project-text w-100 my-auto text-center text-lg-left">
                            <h4 class="text-white">详细的诗词信息</h4>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Project Two Row-->
        <div class="row gx-0 justify-content-center">
            <div class="col-lg-6"><img class="img-fluid" th:src="@{/img/show3.jpg}" alt="..."/></div>
            <div class="col-lg-6 order-lg-first">
                <div class="bg-black text-center h-100 project">
                    <div class="d-flex h-100">
                        <div class="project-text w-100 my-auto text-center text-lg-right">
                            <h4 class="text-white">方便的个人中心</h4>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Contact-->
<section id="connect" class="contact-section bg-black">
    <div class="container py-5 px-4 px-lg-5">
        <div class="row gx-4 py-5 gx-lg-5">
            <div class="col-lg-6 col-md-4 mb-3 mb-md-0">
                <div class="card py-5 h-100">
                    <div class="card-body text-center">
                        <i class="fas fa-envelope text-primary mb-2"></i>
                        <h4 class="text-uppercase m-0">电子邮箱</h4>
                        <hr class="my-4 mx-auto"/>
                        <div class="text-black-50"><a style="color: #1d1d1d"
                                                      href="javascript:">ct@yunzhanyi.ntesmail.com</a></div>
                    </div>
                </div>
            </div>
            <div class="col-lg-6 col-md-4 mb-3  mb-md-0">
                <div class="card py-5 h-100">
                    <div class="card-body text-center">
                        <i class="fa-solid fa-face-smile text-primary mb-2"></i>
                        <h4 class="text-uppercase m-0">社交账号</h4>
                        <hr class="my-4 mx-auto"/>
                        <div class="text-black-50">
                            <a class="mx-2"
                               style="color: #1d1d1d"
                               href="javascript:"
                               data-bs-toggle="popover"
                               data-bs-placement="top"
                               data-bs-html="true" title="<img width='100px' height='100px' src='/img/qrcode_gzh.jpg'/>"
                            ><i class="fa-brands fa-weixin"></i></a>
                            <a class="mx-2"
                               style="color: #1d1d1d"
                               href="javascript:"
                               data-bs-toggle="popover"
                               data-bs-placement="top"
                               data-bs-html="true"
                               title="<img width='200px' height='400px' src='/img/qqqun.jpg'/>"
                            ><i class="fa-brands fa-qq"></i></a>
                            <a class="mx-2" style="color: #1d1d1d"
                               target="_blank" href="https://github.com/bestct"><i
                                    class="fab fa-github"></i></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</section>
<th:block th:insert="~{common/footer::tail}"></th:block>
<script>
    // Navbar shrink function
    var navbarShrink = function () {
        const navbarCollapsible = document.body.querySelector('#mainNav');
        if (!navbarCollapsible) {
            return;
        }
        if (window.scrollY === 0) {
            navbarCollapsible.classList.remove('navbar-shrink')
        } else {
            navbarCollapsible.classList.add('navbar-shrink')
        }

    };

    // Shrink the navbar
    navbarShrink();

    // Shrink the navbar when page is scrolled
    document.addEventListener('scroll', navbarShrink);

    // Activate Bootstrap scrollspy on the main nav element
    const mainNav = document.body.querySelector('#mainNav');
    if (mainNav) {
        new bootstrap.ScrollSpy(document.body, {
            target: '#mainNav',
            offset: 74,
        });
    }

    // Collapse responsive navbar when toggler is visible
    const navbarToggler = document.body.querySelector('.navbar-toggler');
    const responsiveNavItems = [].slice.call(
        document.querySelectorAll('#navbarResponsive .nav-link')
    );
    responsiveNavItems.map(function (responsiveNavItem) {
        responsiveNavItem.addEventListener('click', () => {
            if (window.getComputedStyle(navbarToggler).display !== 'none') {
                navbarToggler.click();
            }
        });
    });

</script>

<script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script>
</body>
</html>
